Printing apparatus, control method for printing apparatus, and printing system

ABSTRACT

In a case where double-sided printing is set and a predetermined binding direction is set as a print setting for printing on a predetermined type of medium, a printing apparatus performs second rotation processing on an image targeted for printing transmitted from a terminal apparatus such that an orientation of the image targeted for printing returns to an orientation of the image obtained before first rotation processing is performed on the image by the terminal apparatus, and then performs single-sided printing of the image targeted for printing.

BACKGROUND OF THE INVENTION Field of the Invention

Aspects of the present disclosure generally relate to a printingapparatus, a control method for a printing apparatus, and a printingsystem, each of which is configured to perform printing of an imagetargeted for printing received from a terminal apparatus.

Description of the Related Art

Printing apparatuses for printing an image on a sheet of printing paper(print sheet) include a printing apparatus having an automaticdouble-sided printing (2-sided or duplex printing) mechanism, whichfirst performs printing on one side of a print sheet, then automaticallyreverses the print sheet, and performs printing on the reverse side ofthe print sheet. Japanese Patent Application Laid-Open No. 2006-164106discusses a printer driver designating automatic double-sided printingas one of the print settings.

Moreover, print medium for postcards include sheets adapted for printinga photograph on a communication side thereof, which is the reverse sideof the address side, such as “inkjet postcards” and “gloss photopostcards”. In these postcards, while the material of the surface of theaddress side is paper, the communication side is further provided withan ink receptive layer, so that the image quality of a photographprinted on the communication side is improved. Accordingly, imageprocessing is required to differ between the address side and thecommunication side. Thus, with regard to postcards on the communicationside of which a photograph is printed, setting of double-sided printingfor printing on postcards, which is performed via a printer driver, maybe restricted in such a manner that printing is individually performedon the address side and the communication side not by automaticdouble-sided printing but by single-sided printing (1-sided printing orsimplex printing).

Furthermore, there is a printing system included in an operating system(OS) as standard equipment, which utilizes a communication protocol thatenables printing without using a printer driver for printingapparatuses. Such a communication protocol includes, for example, theInternet Printing Protocol (IPP) and the Web Services on Devices (WSD).In such a printing system, since a printer driver is not used, thesetting of double-sided printing for printing on postcards may not beproperly restricted. Therefore, a print job for printing on postcards inwhich “double-sided printing” is set as the print setting may betransmitted from a terminal apparatus to a printing apparatus.

SUMMARY OF THE INVENTION

Aspects of the present disclosure are generally directed to providing atechnique capable of performing appropriate printing on a mediumunadaptable to automatic double-sided printing.

According to an aspect of the present disclosure, a printing apparatusthat performs printing of an image received from a terminal apparatusincludes an acquisition unit configured to acquire print settings forprinting of the image, a rotation unit configured to perform rotationprocessing on the image in a case where double-sided printing is set anda predetermined binding direction is set as print settings for printingon a predetermined type of medium based on the print settings acquiredby the acquisition unit, and a printing unit configured to performsingle-sided printing of the image rotated by the rotation unit, whereinthe terminal apparatus performs first rotation processing on the imagein a case where double-sided printing is set and the predeterminedbinding direction is set as print settings for printing on thepredetermined type of medium, and transmits the image on which the firstrotation processing has been performed to the printing apparatus, andwherein the rotation unit performs second rotation processing on theimage such that an orientation of the image transmitted from theterminal apparatus returns to an orientation of the image obtainedbefore the first rotation processing is performed on the image.

Further features of the present disclosure will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a system configuration diagram of a printing system accordingto an exemplary embodiment of the present disclosure.

FIG. 2 is a sequence diagram illustrating processing for registeringinformation about paper with use of a remote user interface (UI).

FIG. 3 is a diagram illustrating an example of a paper informationregistration screen.

FIG. 4 is a diagram illustrating an example of a print setting screenwhich is displayed by a terminal apparatus according to the exemplaryembodiment.

FIG. 5 is a diagram illustrating a printing sequence which is performedby the printing system according to the exemplary embodiment.

FIG. 6 is a flowchart illustrating print processing which is performedby a printing apparatus according to the exemplary embodiment.

DESCRIPTION OF THE EMBODIMENTS

Various exemplary embodiments, features, and aspects of the disclosurewill be described in detail below with reference to the drawings.However, for example, the relative locations of constituent elements anddisplay screens described in the following exemplary embodiments are notintended to limit the respective exemplary embodiments to only thedescribed ones.

FIG. 1 is a system configuration diagram of a printing system accordingto an exemplary embodiment of the present disclosure. The printingsystem according to the present exemplary embodiment includes a terminalapparatus 110, which generates a print job, and a printing apparatus120, which consumes a print job. The terminal apparatus 110 is anelectronic apparatus, such as a personal computer (PC), a smartphone, ora tablet, etc.

First, a configuration of the terminal apparatus 110 is described. Acentral processing unit (CPU) 111 controls the terminal apparatus 110 byloading a program stored in a read-only memory (ROM) 112 onto a randomaccess memory (RAM) 113 and executes the program. For example, the CPU111 is capable of generating a print job and transmitting the print jobto the printing apparatus 120 via a communication unit 114. Settinginformation serving as a print setting to be included in a print job isinput by the user via an operation unit 115 in a screen which isdisplayed on a display unit 116. Moreover, an image targeted forprinting to be included in the print job is also selected by the uservia the operation unit 115 in the screen which is displayed on thedisplay unit 116. Furthermore, the display unit 116 is, for example, aliquid crystal panel and is able to display various types of displayitems and, possibly, an image. Moreover, in a case where the terminalapparatus 110 is a smartphone or a tablet, the display unit 116 can be atouch panel.

A print job generated by the CPU 111 is recorded on the RAM 113, and isthen transmitted to the printing apparatus 120 via the communicationunit 114. Furthermore, in the present exemplary embodiment, an interface(I/F) or connection configuration of the communication unit 114 is notparticularly limited, for example, data can be transmitted and receivedvia a wireless local area network (LAN), etc. Furthermore, processingoperations which are performed by the terminal apparatus 110 illustratedin FIG. 2 and FIG. 5 described below are also implemented by the CPU111.

Next, a configuration of the printing apparatus 120 is described. A CPU121 controls the printing apparatus 120 by loading a program stored in aROM 122 onto a RAM 123 and executing the program. For example, the CPU121 receives a print job from the terminal apparatus 110 via acommunication unit 124 and then executes the print job. Specifically,the CPU 121 analyzes the print job according to an analysis programstored in the ROM 122, thus acquiring setting information which isrequired to execute the print job. The CPU 121 determines a medium onwhich printing is to be performed according to the acquired settinginformation, and thus causes a paper feeding unit 126 to feed themedium. Moreover, as need arises, the CPU 121 causes a print datarotation unit 127, which performs rotation processing on print data, toperform rotation processing and, then, causes a printing unit 125 toperform print processing. Moreover, processing operations which areperformed by the printing apparatus 120 illustrated in FIG. 2 and FIG. 5described below and processing operations in the respective steps in aflowchart illustrated in FIG. 6 are also implemented by the CPU 121.

Furthermore, the print data rotation unit 127 can exist as a hardwarecircuit, and the CPU 121 can perform rotation processing on print datainput to the hardware circuit. Alternatively, the print data rotationunit 127 can exist as a program module which is a part of the programstored in the ROM 122, and rotation processing can be performed by theprogram module being executed by the CPU 121.

Moreover, during printing, the CPU 121 causes a paper detection unit 129to determine whether there is paper in the paper feeding unit 126. Then,in a case where there is no paper, the CPU 121 causes a display unit 130to display that effect, thus being able to prompt the user to set paperinto the paper feeding unit 126. After setting paper, the user isallowed to operate an operation unit 128 to issue an instruction forcontinuing printing. Moreover, the user is allowed to operate theoperation unit 128 and the display unit 130 to previously registerinformation about paper (for example, paper size and paper type) withthe paper feeding unit 126, and the registered information about paperis recorded on the RAM 123. Furthermore, the RAM 123 is a non-volatilememory, and, even when the printing apparatus 120 has been powered off,the above-mentioned information about paper is retained. Moreover, theregistration of information about paper is not limited to the case whereit is performed with use of the operation unit 128 and the display unit130, but can be set with use of a remote user interface (UI) which isprovided from the printing apparatus 120 to the terminal apparatus 110.The setting performed with use of the remote UI is described below withreference to FIG. 2 and FIG. 3.

FIG. 2 is a sequence diagram illustrating processing for registeringinformation about paper with use of a remote UI. Referring to FIG. 2,via the operation unit 115 of the terminal apparatus 110, the userregisters information about paper set in the paper feeding unit 126 ofthe printing apparatus 120. Furthermore, in the remote UI, the printingapparatus 120 operates as a web server, and transmits web content, suchas a HyperText Markup Language (HTML) file, in response to a requestfrom the terminal apparatus 110 serving as a web client. This enablesthe printing apparatus 120 to cause the terminal apparatus 110 todisplay a predetermined operation screen (remote UI).

In step 201, the user 200 of the terminal apparatus 110 performs aremote UI screen display operation to cause the display unit 116 of theterminal apparatus 110 to display a screen for the remote UI. In thepresent exemplary embodiment, displaying of the remote UI screen isimplemented by activating a browser application of the terminalapparatus 110 and inputting a Uniform Resource Locator (URL)corresponding to, for example, the Internet Protocol (IP) address of theprinting apparatus 120.

In response to the operation performed in step 201, then in step 202,the terminal apparatus 110 requests content constituting a remote UIscreen from the printing apparatus 120. In step 203, in response to therequest made in step 202, the printing apparatus 120 transmits contentstored in the ROM 122 or the RAM 123 to the terminal apparatus 110. Thecontent which is transmitted in step 203 is, for example, an HTML fileor image data specified by the HTML file.

In step 204, the terminal apparatus 110 displays the content transmittedfrom the printing apparatus 120 in step 203 with use of a web browser,thus displaying a paper information registration screen for the printingapparatus 120 serving as a remote UI. The paper information registrationscreen is described below with reference to FIG. 3. In step 205, whileconfirming the screen displayed in step 204, the user 200 performs anoperation to register paper information about the printing apparatus120. In step 206, the terminal apparatus 110 communicates the paperinformation registered in step 205 to the printing apparatus 120. Instep 207, the printing apparatus 120 sets and registers the paperinformation communicated in step 206. As mentioned above, the paperinformation is stored in the RAM 123 of the printing apparatus 120.

According to the processing illustrated in FIG. 2, even with respect toa printing apparatus 120 which includes neither an operation unit nor adisplay unit, the user 200 is allowed to register paper information withthe printing apparatus 120 with use of the operation unit 115 and thedisplay unit 116 of the terminal apparatus 110.

FIG. 3 is a diagram illustrating an example of the paper informationregistration screen. In step 204 illustrated in FIG. 2, the paperinformation registration screen 301 is displayed on the display unit 116of the terminal apparatus 110. The paper information registration screen301 includes a screen title 302 indicating that paper information isregistered. The user 200 selects, as paper information, a desired papersize and a desired paper type as the paper size 303 and the paper type304, and registers the selected paper size and paper type. In theexample illustrated in FIG. 3, the user 200 selects A4 as the paper sizeand photo paper as the paper type, information about which is thenstored in the RAM 123 of the printing apparatus 120.

In the present exemplary embodiment, the terminal apparatus 110 providesa printing service included in an operating system (OS) as standardequipment, and the printing apparatus 120 also supports the printingservice. In the printing service, communications are performed betweenthe terminal apparatus 110 and the printing apparatus 120 according to apredetermined protocol, such as the Internet Printing Protocol (IPP) orthe Web Services on Devices (WSD). Moreover, the terminal apparatus 110transmits, without using a printer driver, a print job to the printingapparatus 120 according to the predetermined protocol. Additionally, inthe printing service, before transmitting a print job, the terminalapparatus 110 acquires paper information from the printing apparatus120, and displays the acquired paper information on the display unit116. In the present exemplary embodiment, an example in which the paperinformation acquired from the printing apparatus 120 is displayed in aprint setting screen by the terminal apparatus 110 is described.

FIG. 4 is a diagram illustrating a display example of the print settingscreen displayed by the terminal apparatus 110 in the present exemplaryembodiment. The print setting screen 401 is displayed on the displayunit 116 of the terminal apparatus 110. The print setting screen 401includes a title 402 indicating that the displayed screen represents aprint setting menu. The print setting screen 401 further includes, assettable items, paper size 403, paper type 404, printing side 405, printquality 406, color 407 and binding direction 408. With respect to eachitem, the user 200 is allowed to select predetermined settings with useof the operation unit 115. In the paper size 403, a paper size, such as“A4”, “4×6”, or “postcard size”, can be selected. In the paper type 404,a paper type, such as “plain paper”, “photo paper”, or “postcard type”,can be selected. In the printing side 405, a printing side, such as“single-sided” or “double-sided”, can be selected. In the print quality406, which indicates the degree of finish of printing, a print quality,such as “standard” or “high quality”, can be selected. In the color 407,which indicates the color of printing, for example, “color” or“monochrome” can be selected. In the binding direction 408, whichindicates a binding direction used for double-sided printing, forexample, “long edge binding” or “short edge binding” can be selected.

Furthermore, when double-sided printing is selected with “long-edgebinding” and the printed sheet of paper will be reversed around the longedge thereof, the top-and-bottom direction of the printing on the frontside and the reverse side will be the same. On the other hand, whendouble-sided printing is selected with “short-edge binding” with theprinted sheet of paper likewise being reversed around the long edgethereof, the top-and-bottom direction of the printing on the front sideand the reverse side will be inverted. Thus, the top-and-bottomdirection of the printing on the reverse side differs 180 degreesbetween “long edge binding” and “short edge binding” for double-sidedprinting in which the sheet is reversed along the long edge thereof.Therefore, data to be printed will be rotated 180 degrees in any one of“long edge binding” and “short edge binding” depending on the paperinversion mechanism included in the printing apparatus for double-sidedprinting. In other words, whether the rotation processing is performedfor “long edge binding” and “short edge binding” is determined by firstdetermining whether the inversion of the sheet of paper will result inthe printing on the reverse side being started with the same leadingedge as that of the front side or being started with the trailing edgethereof. In the present exemplary embodiment, in a case where “long edgebinding” is designated, print data to be printed on the reverse side ofthe sheet of paper is assumed to be rotated 180 degrees by the terminalapparatus 110.

Moreover, the items selectable in the print setting screen 401illustrated in FIG. 4 and the values selectable with respect to therespective items are not specifically defined in the present exemplaryembodiment. For example, in a case where the printing apparatus 120 isnot compatible with color printing, since the color 407 supports only“monochrome”, the color 407 does not need to be displayed, orspecifications in which only “monochrome” is selectable can be employed.

Additionally, a part or the whole of the setting items 403 to 408illustrated in FIG. 4 can be not selected by the user but automaticallyset. In other words, the values of setting items are determined by thespecifications of an application of the terminal apparatus 110 or thespecifications of the printing apparatus 120. In this case, in the printsetting screen illustrated in FIG. 4, letters indicating “automatic” canbe displayed with respect to only the setting items which areautomatically set. Moreover, if specifications in which options of allof the setting items 403 to 408 are only “automatic” are employed, suchitems do not need to be displayed. Besides, the content to be displayedin the print setting screen 401 and the layout thereof are notspecifically limited. For example, the title 402 for the print settingmenu can be omitted.

Furthermore, in the present exemplary embodiment, as described belowwith regard to step 504 illustrated in FIG. 5, paper information (papersize and paper type) which is currently registered with the printingapparatus 120 is communicated to the terminal apparatus 110. At thistime, in the print setting screen 401 illustrated in FIG. 4, a papersize and a paper type indicated by the paper information are displayedas the paper size 403 and the paper type 404, respectively. At thistime, the paper size 403 and the paper type 404 can be displayed in sucha way as to be changeable to other values by the operation performed bythe user, or can be fixed to the values indicated by the paperinformation. In the latter case, since the paper size 403 and the papertype 404 are automatically determined, the values indicated by the paperinformation can be displayed, or “automatic” can be displayed as thevalues of the paper size 403 and the paper type 404 as mentioned above.

Moreover, the print setting screen 401 can be omitted depending on thespecifications of a printing application of the terminal apparatus 110.For example, if, in a photo application, the targets to be printed aresupposed to be not documents but only photographs, since settings of theprinting side 405 being “single-sided”, the print quality 406 being“high quality”, and the color 407 being “color” are frequently used,these values can be fixedly used. Moreover, since the printing side 405is fixed to “single-sided”, the binding direction 408 is omitted.Additionally, as mentioned above, the values of the paper size 403 andthe paper type 404 can be fixed to the values indicated by the paperinformation acquired from the printing apparatus 120. In this case, thevalues to be set are automatically determined with respect to all of theitems 403 to 408 illustrated in FIG. 4. Therefore, in the case of anapplication such as that mentioned above, the print setting screen 401is not displayed, and a print job including the values automaticallydetermined with respect to the respective setting items can be generatedby the terminal apparatus 110 and then transmitted to the printingapparatus 120. This enables simplifying an operation which is performedby the user.

FIG. 5 is a diagram illustrating a printing sequence which is performedby the printing system according to the present exemplary embodiment. Asmentioned above, the printing system illustrated in FIG. 5 is a printingsystem included in an OS as standard equipment, in which printing isperformed without the use of a printer driver.

In step 501, the user 200 performs an operation to cause the terminalapparatus 110 to display a print setting screen. In step 502, theterminal apparatus 110 request notification information about theprinting apparatus 120 from the printing apparatus 120. Upon receivingthe request for notification information in step 502, then in step 503,the printing apparatus 120 generates notification information. Thenotification information in step 503 includes information about thepaper size and the paper type registered in step 207 illustrated in FIG.2 and values of the paper size, paper type, printing side, printquality, color, and binding direction supported by the printingapparatus 120. In step 504, the printing apparatus 120 communicates thenotification information generated in step 503 to the terminal apparatus110.

In step 505, the terminal apparatus 110 displays a print setting screenillustrated in FIG. 4 with use of the notification informationcommunicated in step 504. In the sequence illustrated in FIG. 5, thevalues supported by the printing apparatus 120 with respect to therespective setting items, which are included in the notificationinformation, are displayed as selectable candidates. Moreover, thevalues of the paper information (paper size and paper type) registeredin step 207, which is included in the notification information, aredisplayed as initial values of the paper size 403 and the paper type 404illustrated in FIG. 4.

In step 506, the user 200 performs a printing execution operation in theprint setting screen displayed in step 505. Specifically, a printingexecution button (not illustrated) is included in the print settingscreen, and the user 200 operates the printing execution button (forexample, touches the printing execution button on a touch panel). Inresponse to an instruction for printing issued by the user 200 in step506, then in step 507, the terminal apparatus 110 generates a print joband then transmits the print job to the printing apparatus 120.Specifically, a print job including an image targeted for printingselected by the user 200 and the print settings selected in the screenillustrated in FIG. 4 is generated, and the generated print job is thentransmitted to the printing apparatus 120 via the communication unit114. Furthermore, the selection of an image targeted for printing by theuser 200 is performed in an image selection screen (not illustrated)which is displayed on the display unit 116. The selection of an imagecan be performed before the operation for displaying the print settingscreen in step 501, or can be performed after displaying of the printsetting screen in step 505 and before the printing instruction in step506.

In step 508, the printing apparatus 120 receives the print job from theterminal apparatus 110 via the communication unit 124, and then performsprinting according to the content of the print job. Details of printingperformed in step 508 are described below with reference to FIG. 6.Furthermore, the terminal apparatus 110 which registers paperinformation in the remote UI illustrated in FIG. 2 and the terminalapparatus 110 which generates a print job in the printing sequenceillustrated in FIG. 5 can be different terminal apparatuses.

Furthermore, while, in the present exemplary embodiment, generation ofthe notification information in step 503 includes generation ofinformation required for displaying of the screen illustrated in FIG. 4,the present exemplary embodiment is not limited to this. For example,information about the remaining amount of ink in an ink tank (notillustrated) of the printing apparatus 120 can be communicated, or anerror state of the printing apparatus 120 can be communicated.

Moreover, in the present exemplary embodiment, timing of communicationof the notification information from the printing apparatus 120 is notlimited to step 504 in FIG. 5. For example, when the terminal apparatus110 and the printing apparatus 120 have been first connected to eachother via the communication unit 114 of the terminal apparatus 110 andthe communication unit 124 of the printing apparatus 120, informationabout the printing apparatus 120 can be communicated to the terminalapparatus 110.

Furthermore, there are sheets of paper adapted for printing a photographon a communication side thereof, which is the reverse side of theaddress side, such as “inkjet postcards” and “gloss photo postcards”. Inthese postcards, while the material of the surface of the address sideis paper, the communication side is further provided with an inkreceptive layer, so that the image quality of a photograph printed onthe communication side is improved. Accordingly, image processing isrequired to differ between the address side and the communication side.Thus, with regard to postcards on the communication side of which aphotograph is printed, setting of double-sided printing for printing onpostcards, which is performed via a printer driver, may be restricted insuch a manner that printing is individually performed on the addressside and the communication side not by automatic double-sided printingbut by single-sided printing.

However, as mentioned above, in step 507 illustrated in FIG. 5, theterminal apparatus 110 in the present exemplary embodiment generates aprint job without using a printer driver according to the printingsystem included in an OS as standard equipment, and then transmits theprint job. Therefore, a print job in which the setting value of thepaper size 403 in the print settings is “postcard” and the setting valueof the printing side 405 is “double-sided” may be transmitted from theterminal apparatus 110 to the printing apparatus 120. Therefore, in acase where, in the print settings of the received print job, the settingvalue of the paper size is “postcard” and the setting value of theprinting side is “double-sided”, the printing apparatus 120 in thepresent exemplary embodiment automatically performs single-sidedprinting. In other words, the printing apparatus 120 in the presentexemplary embodiment excludes “postcard” from targets for double-sidedprinting, thus preventing unintended double-sided printing from beingperformed on “postcard”.

Moreover, the printing apparatus 120 is equipped with an automaticdouble-sided unit. After performing printing on the first surface of aprint sheet, the automatic double-sided unit reverses the direction oftravel of the print sheet and then conveys the print sheet, andre-supplies the print sheet to the printing unit with the second surfaceof the print sheet oriented in such a manner that the top-and-bottomdirection is inverted. Therefore, to implement long edge binding indouble-sided printing, it is necessary to rotate print data for aneven-numbered page 180 degrees during generation of print data.Therefore, in the printing system included in an OS as standardequipment in the present exemplary embodiment, in a case where thesetting value of the printing side 405 in the print settings is“double-sided” and the setting value of the binding direction 408 is“long edge binding”, print data (an image targeted for printing) for aneven-numbered page is rotated 180 degrees by the terminal apparatus 110.This enables the printing apparatus 120 to implement double-sidedprinting for long edge binding without the need to rotate print data foran even-numbered page 180 degrees.

However, in a case where, in the print settings, the setting value ofthe paper size is “postcard”, the setting value of the printing side is“double-sided”, and the setting value of the binding direction is “longedge binding”, printing unintended by the user may sometimes beperformed. For example, in a case where printing is performed for aplurality of pages each including, for example, the address, name, andpostal code of the destination for printing on the address side of apostcard, since “double-sided” and “long edge binding” are set in theprint settings, rotation by 180 degrees of an even-numbered page isperformed by the terminal apparatus 110. On the other hand, in theprinting apparatus 120, since double-sided printing is set with respectto the paper type “postcard”, which is unadaptable to double-sidedprinting, the printing apparatus 120 automatically changes double-sidedprinting to single-sided printing and then performs printing. Therefore,an even-numbered page is rotated 180 degrees and is then used forprinting. Therefore, a printed result unintended by the user may occur.

Furthermore, the paper type which is unadaptable to double-sidedprinting is not limited to postcard. However, particularly in theaddress side of a postcard, a frame for postal code or the like ispreviously printed, so that a print direction in which the user is toperform printing is previously determined. Therefore, if aneven-numbered page is rotated 180 degrees and is then used for printing,the postcard medium itself may be wasted.

FIG. 6 is a flowchart illustrating print processing which is performedby the printing apparatus 120 according to the present exemplaryembodiment. Furthermore, the flowchart of FIG. 6 illustrates details ofprocessing for performing printing in step 508 illustrated in FIG. 5.

When the terminal apparatus 110 transmits a print job in step 507illustrated in FIG. 5, then in step 601, the printing apparatus 120receives the print job. In step 602, the printing apparatus 120 analyzesthe print job, thus acquiring a print setting of the print job. In thepresent exemplary embodiment, a print job includes a print setting andprint data for one or more pages. Moreover, the print settings includes,for example, paper size, paper type, printing side, print quality,color, and binding direction, which are settable by the terminalapparatus 110 in the print settings screen illustrated in FIG. 4.

In step 603, the printing apparatus 120 determines whether the value ofthe printing side in the print settings acquired in step 602 is“double-sided”. If it is determined that the printing side in the printsettings is “single-sided” (NO in step 603), then in step 604, theprinting apparatus 120 performs single-sided printing about all of thepages included in the print job, and then completes the processingillustrated in FIG. 6. If the print data is a print job for only onepage, the printing apparatus 120 performs single-sided printing aboutone page, and then completes the processing illustrated in FIG. 6.Furthermore, in step 604, an image having a size corresponding to thepaper size in the print settings acquired in step 602 is generated basedon the print job, and image processing corresponding to the paper typein the print settings is performed. Then, an image subjected to theimage processing is printed on a print sheet.

On the other hand, if, in step 603, it is determined that the printingside in the print settings is “double-sided” (YES in step 603), theprocessing proceeds to step 605. In step 605, the printing apparatus 120determines whether the paper type designated in the print settings is amedium unadaptable to double-sided printing. With respect to each of aplurality of paper types which the printing apparatus 120 supports,information indicating whether it is adaptable to double-sided printingis previously stored in the ROM 122. Then, in step 605, the printingapparatus 120 refers to such information and determines whether thepaper type in the print settings is unadaptable to double-sidedprinting. For example, with respect to “plain paper”, informationindicating that double-sided printing is available is stored in the ROM122, and, with respect to “photo paper” or “postcard type”, informationindicating that it is unadaptable to double-sided printing is stored inthe ROM 122. If, in step 605, it is determined that the paper type inthe print settings is a medium adaptable to double-sided printing (NO instep 605), the processing proceeds to step 606. In step 606, theprinting apparatus 120 performs double-sided printing about all of thepages included in the print job, and then completes the processingillustrated in FIG. 6. If the print data is a print job for only onepage, the printing apparatus 120 performs single-sided printing aboutone page, and then completes the processing illustrated in FIG. 6.

On the other hand, if, in step 605, it is determined that the paper typein the print settings is a medium unadaptable to double-sided printing(YES in step 605), the processing proceeds to step 607. In step 607, theprinting apparatus 120 determines whether the paper size in the printsettings is “postcard size”. If it is determined that the paper size inthe print settings is “postcard size” (YES in step 607), the processingproceeds to step 608, and, if it is determined that the paper size inthe print settings is not “postcard size” (NO in step 607), theprocessing proceeds to step 604.

Next, in step 608, the printing apparatus 120 determines whether thebinding direction in the print settings is “long edge binding”. In theprinting apparatus 120 according to the present exemplary embodiment, ina case where the printing side in the print settings is “double-sided”and the binding direction is “long edge binding”, with respect to printdata for an even-numbered page which is to be printed on the reverseside, the print data is previously rotated by the terminal apparatus110. If, in step 608, it is determined that the binding direction in theprint settings is “long edge binding” (YES in step 608), the processingproceeds to step 609, and, if it is determined that the bindingdirection in the print settings is “short edge binding” (NO in step608), the processing proceeds to step 604.

In step 609, the printing apparatus 120 sequentially performsdeterminations with regard to images targeted for printing of aplurality of pages included in the print job received in step 601.Specifically, the printing apparatus 120 determines whether the pagecurrently targeted for determination is an even-numbered page in theplurality of pages. If it is determined that the page currently targetedfor determination is an even-numbered page (YES in step 609), theprocessing proceeds to step 610, and if it is determined that the pagecurrently targeted for determination is an odd-numbered page (NO in step609), the processing proceeds to step 611.

In step 610, the printing apparatus 120 causes the print data rotationunit 127 to rotate an image targeted for printing, which is print datafor an even-numbered page, 180 degrees. As mentioned above, in theterminal apparatus 110, in a case where double-sided printing and longedge binding are set in the print settings, rotation by 180 degrees fordouble-sided printing is previously performed with respect to print datafor an even-numbered page. Then, the print data rotated 180 degrees istransmitted from the terminal apparatus 110 to the printing apparatus120. Therefore, in step 610, for the purpose of single-sided printing,print data for an even-numbered page is rotated 180 degrees, thus beingreturned to its original orientation.

In step 611, the printing apparatus 120 performs single-sided printingbased on print data for the page currently targeted for determination instep 609 among pieces of print data for a plurality of pages included inthe print job. Next, in step 612, the printing apparatus 120 determineswhether single-sided printing has been performed in step 611 withrespect to all of the pages included in the print job. If it isdetermined that single-sided printing about all of the pages has not yetbeen completed (NO in step 612), the processing returns to step 609,and, if it is determined that single-sided printing about all of thepages has been completed (YES in step 612), the processing illustratedin FIG. 6 ends. Furthermore, in a case where the processing returns tostep 609, the target for determination in step 609 shifts to a nextpage.

With the processing performed in step 609 to step 612, among pieces ofprint data for a plurality of pages included in the print job, withrespect to each odd-numbered page, single-sided printing is performedwith print data that is not subjected to rotation processing. Then, withrespect to each even-numbered page, single-sided printing is performedwith print data which has been rotated 180 degrees in step 610.

Here, the processing in step 610 is described in detail. In the case ofan even-numbered page, to rotate print data 180 degrees, the printingapparatus 120 is required to once store print data for at least one pagein the RAM 123. Therefore, when receiving a print job in step 601, theprinting apparatus 120 stores information about the print settings andprint data for one page, or information about the print settings andprint data for all of the pages, in the RAM 123. Furthermore, whether tostore print data for one page or store print data for all of the pagescan be determined, for example, by the CPU 121 according to the freespace of the RAM 123. In a case where print data for one page is storedin the RAM 123, the printing apparatus 120 receives print data for asubsequent page as soon as printing for the current page is completedand a free space occurs in the RAM 123. For example, every time printingfor one page is completed, the printing apparatus 120 requests printdata for a next page from the terminal apparatus 110. Then, every timeprint data for one page is received, storing of print data in the RAM123 and processing in step 609 to step 612 are performed. Specifically,in step 610, with respect to print data for one page stored in the RAM123, rotation by 180 degrees is performed with use of the print datarotation unit 127.

Furthermore, while, in step 607, the printing apparatus 120 determineswhether the paper size in the print settings is “postcard size”, theprinting apparatus 120 can determine whether not the paper size but thepaper type is “postcard type”, such as “inkjet postcard” or “gloss photopostcard”.

As described above, in a case where “double-sided” and “long edgebinding” are set in a print setting, rotation by 180 degrees for aneven-numbered page is performed by the terminal apparatus 110, anddouble-sided printing is automatically changed to single-sided printingby the printing apparatus 120 during printing. According to theprocessing illustrated in FIG. 6, in step 610, print data for aneven-numbered page is rotated 180 degrees by the printing apparatus 120.Therefore, the orientation of print data for an even-numbered pagereturns to an orientation thereof obtained before the print data isrotated for double-sided printing in the terminal apparatus 110.Accordingly, in single-sided printing to be performed in step 611, itbecomes possible to prevent printing from being performed with anorientation conforming to double-sided printing. Therefore,particularly, with respect to a medium in which the print direction issignificant, such as a postcard medium, single-sided printing for printdata with an appropriate orientation becomes possible, so that it ispossible to reduce a medium from being wasted due to failure ofprinting.

Furthermore, while, in step 607, the printing apparatus 120 determineswhether the paper size in the print settings is “postcard size”, thisdetermination can be skipped. Even in the case of other than thepostcard size, the print direction may differ between an odd-numberedpage and an even-numbered page and the user may be required to performwork for making orientations of pages uniform after printing, so thatthe user convenience may decrease. Therefore, the above-describedprocessing can be applied to all of the double-sided printing settingswith long edge binding.

Moreover, in the above-described exemplary embodiment, in a case wherethe binding direction is long edge binding, an even-numbered page isrotated 180 degrees by the terminal apparatus 110. However, depending ona paper inversion mechanism included in the printing apparatus 120, in acase where the binding direction is short edge binding, an even-numberedpage can be rotated 180 degrees by the terminal apparatus 110. In thiscase, if, in step 608, it is determined that the binding direction islong edge binding, the processing proceeds to step 604, and, if it isdetermined that the binding direction is short edge binding, theprocessing proceeds to step 609.

Additionally, in the above-described exemplary embodiment, thedescription has been made while a postcard widely used in Japan, inwhich a field into which to write a postal code is provided, as a mediumunadaptable to automatic double-sided printing is taken as an example.However, the exemplary embodiment is not limited to this, but, in a casewhere printing is performed on a postcard used in, for example, theUnited States, processing similar to the processing performed in a casewhere printing is performed on the post card described in the aboveexemplary embodiment can be performed. Postcards include a postcard inwhich a stamp field or an address field is previously printed.Therefore, in a case where, for example, an address is printed whilebeing rotated 180 degrees from the original orientation, the address mayin some cases not be appropriately printed in the address field on thepostcard, or the address may be printed in the stamp field. In such acase, the postcard may be wasted. According to the above-describedexemplary embodiment, single-sided printing is performed while an imageis rotated by the printing apparatus in such a manner that theorientation of the image returns to an orientation thereof obtainedbefore the image is rotated for double-sided printing by the terminalapparatus. Accordingly, printing can be performed on a postcard with anappropriate orientation thereof.

Other Embodiments

Embodiment(s) of the present disclosure can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random access memory (RAM), a read-only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

While the present disclosure has been described with reference toexemplary embodiments, it is to be understood that the disclosure is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of priority from Japanese PatentApplication No. 2018-068249 filed Mar. 30, 2018, which is herebyincorporated by reference herein in its entirety.

What is claimed is:
 1. A printing apparatus that performs printing of animage targeted for printing received from a terminal apparatus, theprinting apparatus comprising: an acquisition unit configured to acquireprint settings for printing of the image; a rotation unit configured toperform rotation processing on the image in a case where double-sidedprinting is set and a predetermined binding direction is set as printsettings for printing on a predetermined type of medium, based on theprint settings acquired by the acquisition unit; and a printing unitconfigured to perform single-sided printing of the image rotated by therotation unit, wherein the terminal apparatus performs first rotationprocessing on the image in a case where double-sided printing is set andthe predetermined binding direction is set as print settings forprinting on the predetermined type of medium, and transmits the image onwhich the first rotation processing has been performed to the printingapparatus, and wherein the rotation unit performs second rotationprocessing on the image such that an orientation of the imagetransmitted from the terminal apparatus returns to an orientation of theimage obtained before the first rotation processing is performed on theimage.
 2. The printing apparatus according to claim 1, wherein theterminal apparatus performs the first rotation processing on an imagetargeted for printing of an even-numbered page among images targeted forprinting of a plurality of pages which are to be transmitted to theprinting apparatus, wherein the rotation unit performs the secondrotation processing on the image targeted for printing of aneven-numbered page among the images targeted for printing of a pluralityof pages which have been received from the terminal apparatus, andwherein the printing unit performs single-sided printing of an imagetargeted for printing of an odd-numbered page among the images targetedfor printing of a plurality of pages and the image targeted for printingof an even-numbered page on which the second rotation processing hasbeen performed.
 3. The printing apparatus according to claim 1, wherein,in a case where, as a print setting for printing on a first type ofmedium serving as the predetermined type of medium, double-sidedprinting is set based on the print settings acquired by the acquisitionunit, the printing unit performs single-sided printing of the imagetargeted for printing.
 4. The printing apparatus according to claim 3,wherein, in a case where, as a print setting for printing on a secondtype of medium not serving as the predetermined type of medium,double-sided printing is set based on the print setting acquired by theacquisition unit, the rotation unit does not perform the rotationprocessing on the image targeted for printing and the printing unitperforms single-sided printing of the image targeted for printing. 5.The printing apparatus according to claim 4, wherein the second type isphoto paper.
 6. The printing apparatus according to claim 1, wherein thepredetermined type is postcard type.
 7. The printing apparatus accordingto claim 1, wherein the predetermined binding direction is long edgebinding.
 8. The printing apparatus according to claim 1, furthercomprising a determination unit configured to determine whether printingof the image targeted for printing is printing on the predetermined typeof medium, based on paper size in the print settings acquired by theacquisition unit.
 9. A control method for a printing apparatus thatperforms printing of an image targeted for printing received from aterminal apparatus, the control method comprising: acquiring printsettings for printing of the image; performing rotation processing onthe image in a case where double-sided printing is set and apredetermined binding direction is set as a print setting for printingon a predetermined type of medium, based on the acquired print settings;and performing single-sided printing of the rotated image, wherein theterminal apparatus performs first rotation processing on the image in acase where double-sided printing is set and the predetermined bindingdirection is set as print settings for printing on the predeterminedtype of medium, and transmits the image on which the first rotationprocessing has been performed to the printing apparatus, and wherein thecontrol method further comprises performing second rotation processingon the image in such a manner that an orientation of the imagetransmitted from the terminal apparatus returns to an orientation of theimage obtained before the first rotation processing is performed on theimage.
 10. The control method according to claim 9, wherein the terminalapparatus performs the first rotation processing on an image targetedfor printing of an even-numbered page among images targeted for printingof a plurality of pages which are to be transmitted to the printingapparatus, and wherein the control method further comprises: performingthe second rotation processing on the image targeted for printing of aneven-numbered page among the images targeted for printing of a pluralityof pages which have been received from the terminal apparatus; andperforming single-sided printing of an image targeted for printing of anodd-numbered page among the images targeted for printing of a pluralityof pages and the image targeted for printing of an even-numbered page onwhich the second rotation processing has been performed.
 11. The controlmethod according to claim 9, further comprising, in a case where, as aprint setting for printing on a first type of medium serving as thepredetermined type of medium, double-sided printing is set based on theacquired print settings, performing single-sided printing of the imagetargeted for printing.
 12. The printing apparatus according to claim 11,further comprising, in a case where, as a print setting for printing ona second type of medium not serving as the predetermined type of medium,double-sided printing is set based on the acquired print setting,performing single-sided printing of the image targeted for printingwithout performing the rotation processing on the image targeted forprinting.
 13. The control method according to claim 12, wherein thesecond type is photo paper.
 14. The control method according to claim 9,wherein the predetermined type is postcard type.
 15. The control methodaccording to claim 9, wherein the predetermined binding direction islong edge binding.
 16. The control method according to claim 9, furthercomprising determining whether printing of the image targeted forprinting is printing on the predetermined type of medium, based on papersize in the acquired print setting.
 17. A printing system comprising aterminal apparatus, and a printing apparatus that performs printing ofan image targeted for printing received from the terminal apparatus,wherein the terminal apparatus includes: a setting unit configured toperform a print setting about the image targeted for printing; a firstrotation unit configured to perform first rotation processing on theimage targeted for printing in a case where double-sided printing is setand a predetermined binding direction is set by the setting unit as aprint setting for printing on a predetermined type of medium; and atransmission unit configured to transmit, to the printing apparatus, theimage targeted for printing on which the first rotation processing hasbeen performed by the first rotation unit and the print setting set bythe setting unit, and wherein the printing apparatus includes: a secondrotation unit configured to perform second rotation processing on theimage targeted for printing transmitted by the transmission unit in acase where double-sided printing is set and the predetermined bindingdirection is set as a print setting for printing on the predeterminedtype of medium based on the print setting transmitted by thetransmission unit; and a printing unit configured to performsingle-sided printing of the image targeted for printing rotated by thesecond rotation unit, wherein the second rotation unit performs thesecond rotation processing on the image targeted for printing in suchthat an orientation of the image targeted for printing transmitted bythe transmission unit returns to an orientation of the image targetedfor printing obtained before the first rotation processing is performedon the image targeted for printing.
 18. The printing system according toclaim 17, wherein the printing apparatus further includes: aregistration unit configured to register paper information about media;and a notification unit configured to communicate the paper informationregistered by the registration unit to the terminal apparatus, andwherein the setting unit included in the terminal apparatus performs aprint setting based on the paper information communicated by thenotification unit.
 19. The printing system according to claim 17,wherein the terminal apparatus transmits a print job to the printingapparatus according to Internet Printing Protocol (IPP) without using aprinter driver.